Skip to content

feat: add discovery logging to release-go script#968

Merged
pcfreak30 merged 1 commit into
developfrom
fix/release-go-discovery-logging
Jun 9, 2026
Merged

feat: add discovery logging to release-go script#968
pcfreak30 merged 1 commit into
developfrom
fix/release-go-discovery-logging

Conversation

@pcfreak30

@pcfreak30 pcfreak30 commented Jun 9, 2026

Copy link
Copy Markdown
Member

Add comprehensive logging to plugin and app discovery so failed
target lookups are diagnosable. List available targets when a
requested name is not found. Replace bare except: with
except Exception and log the error.


Add comprehensive logging to the release-go discovery and build registry process

This PR adds detailed logging throughout the discovery and build pipeline in the release-go.py script, improving observability and debuggability of the build target discovery process. Key changes include:

  • Standalone app discovery: Logs when the apps/ directory is missing, when scanning begins, when apps are found or skipped (with reasons), and a summary of discovered apps.
  • Plugin discovery: Logs when the libs/ directory is missing, when scanning begins, when plugins are skipped (missing vite config, missing build script, skip keyword match, non-directory), when plugins are discovered, and a summary of discovered plugins.
  • Build registry: Logs a summary after building, including total target count and breakdowns by type (app-shell, standalone, plugin), plus a debug-level list of all target names.
  • Target filtering: Logs available targets when "all" is selected or when a requested target is not found, and improves the not-found warning message formatting.

Additionally, bare except clauses are replaced with except Exception as e: and now log the actual error, improving error visibility during discovery failures.

Add comprehensive logging to plugin and app discovery so failed
target lookups are diagnosable. List available targets when a
requested name is not found. Replace bare except: with
except Exception and log the error.
@kody-ai

kody-ai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Business Logic

Access your configuration settings here.

@pcfreak30 pcfreak30 merged commit 4426beb into develop Jun 9, 2026
3 checks passed
@pcfreak30 pcfreak30 deleted the fix/release-go-discovery-logging branch June 9, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant